$blueColor: #0090f2;

header.header{
    width: 100%;
    min-height: 170px;
    &.header-banner{
        height: auto;
    }
    // 最顶部
    .head{
        height: 25px;
        line-height: 25px;
        color: #b5b5b5;
        font-size: 12px;
        background-color: #F2F2F2;
        .line{
            margin: -1px 10px;
        }
        .cart{
            span{
                color: $blueColor;
                font-size: 14px;
            }
        }
        .order{
            span{
                color: $blueColor;
                vertical-align: -1px;
                animation: order_run 1.5s linear infinite;
            }
            @keyframes order_run {
                80% {transform: rotate(0deg);}
                85% {transform: rotate(-30deg);}
                90% {transform: rotate(0);}
                95% {transform: rotate(30deg);}
                100% {transform: rotate(0deg);}
            }
        }
        .iconfont{
            display: inline-block;
            margin-right: 3px;
        }
        .bar-left{
            overflow: hidden;
            a{
                color: $blueColor;
            }
            &>li{
                float: left;
                &:first-child{
                    margin-right: 15px;
                }
            }
            .line{
                color: $blueColor;
            }
        }
        .bar-right{
            position: absolute;
            right: 0;
            top: 0;
            a{
                color: #b5b5b5;
            }
            li{
                float: left;
                &:hover{
                    cursor: pointer;
                    color: $blueColor;
                }
            }
        }
        li.gzh{
            position: relative;
            &:hover{
                cursor: default;
                div{
                    display: block;
                }
            }
            div{
                display: none;
                padding: 10px;
                position: absolute;
                z-index: 9;
                right: 0;
                top: 20px;
                background-color: #f2f2f2;
                box-shadow: 1px 1px 5px 1px rgba(0,0,0,.2);
                text-align: center;
                color: #333;
                font-size: 14px;
            }
            img{
                width: 140px;
                height: 140px;
                margin-top: 5px;
            }
        }
        .logined{
            a{
                color: $blueColor;
            }
            span{
                font-size: 10px;
            }
        }
        a{
            &:hover{
                text-decoration: underline;
            }
        }
    }
    // 搜索/购物车
    .content{
        min-height: 98px;
        background-color: #FFF;
        .logo{
            display: inline-block;
            width: 240px;
            height: 100%;
            padding-top: 22px;
            &>img{
                width: 100%;
                image-rendering: -moz-crisp-edges;
                image-rendering: -o-crisp-edges;
                image-rendering: -webkit-optimize-contrast;
                image-rendering: crisp-edges;
                -ms-interpolation-mode: nearest-neighbor;
            }
        }
        .search-box,
        .cart-box{
            margin-top: 30px;
        }
        .search-box{
            .search{
                position: relative;
                height: 42px;
                border: 2px solid $blueColor;
                border-radius: 5px;
                font-size: 0;
                &>*{
                    position: absolute;
                    height: 38px;
                    line-height: 38px;
                }
                .iconfont{
                    left: 0;
                    top: 0;
                    display: inline-block;
                    width: 42px;
                    color: #0083dc;
                    font-size: 22px;
                    text-align: center;
                }
                input{
                    left: 42px;
                    width: 420px;
                    padding-right: 10px;
                    outline: none;
                    border: none;
                    font-size: 14px;
                }
                .btn{
                    right: 0;
                    display: inline-block;
                    width: 82px;
                    font-size: 16px;
                    color: #fff;
                    background-color: $blueColor;
                    text-align: center;
                    &:hover{
                        cursor: pointer;
                    }
                }
            }
            .search-hot{
                height: 20px;
                margin: 7px 0 5px;
                overflow: hidden;
                color: #777;
                font-size: 12px;
                a{
                    color: #666;
                    margin-right: 10px;
                    &.hot{
                        color: $mainColor;
                    }
                    &:hover{
                        text-decoration: underline;
                    }
                }
            }        
        }
        .cart-box{
            text-align: right;
            .cart-logo{
                position: relative;
                display: inline-block;
                padding: 0 20px;
                height: 42px;
                line-height: 40px;
                text-decoration: none;
                border: 1px solid #ddd;
                &:hover{
                   border-color: $blueColor;
                }
            }
            .iconfont{
                display: inline-block;
                margin-right: 10px;
                color: $blueColor;
            }
        }
    }
    // 导航
    .nav{
        position: relative;
        height: 50px;
        color: #fff;
        font-size: 16px;
        background-color: $mainColor;
        .nav-bar{
            position: absolute;
            top: 0;
            left: 230px;
            a{
                position: relative;
                display: block;
                height: 50px;
                line-height: 50px;
                padding: 0 30px;
                color: #fff;
            }
            .iconfont{
                position: absolute;
                top: 7px;
                right: 15px;
                font-size: 14px;
            }
            &>li{
                float: left;
                color: #fff;
                font-size: 16px;
                &:hover{
                    background-color: #c46e0d;
                    transition: all 0.5s;
                }
            }
        }
        .destination{
            position: relative;
            width: 230px;
            line-height: 50px;
            text-align: center;
            background-color: #c46e0d;
            cursor: pointer;
            span{
                position: absolute;
                right: 45px;
                transition: all 0.3s;
            }
            &:hover{
                span{
                    transform: rotate(180deg);
                    transition: all 0.3s;
                }
                .dropdown-menu{
                    height: 390px;
                    transition: all 0.3s;
                }
            }
            &.dropdown{
                .dropdown-menu{
                    height: 390px;
                    box-shadow: none;
                    border-bottom: 1px solid #f2f2f2;
                }
            }
        }
    }
    // 导航下的，菜单栏
    .dropdown-menu{
        height: 0;
        overflow: hidden;
        position: absolute;
        top: 50px;
        left: 0;
        z-index: 101;
        width: 230px;
        font-size: 14px;
        background-color: #fff;
        box-shadow: 2px 2px 3px 1px rgba(0,0,0,.12);
        transition: all 0.3s;
        cursor: default;
        .menu{
            height: 90px;
            margin-top: 4px;
            padding: 10px 0 8px 16px;
            line-height: 22px;
            text-align: left;
            overflow: hidden;
            h3 a{
                height: 24px;
                line-height: 24px;
                color: #252525;
                font-weight: bold;
                font-size: 16px;
            }
            a{
                display: inline-block;
                width: auto;
                height: auto;
                padding: 0;
                margin-right: 6px;
                line-height: 1.2;
                color: #777;
                &:hover{
                    color: $mainColor;
                    text-decoration: underline;
                }
            }
        }
    }
    // 轮播图
    .banner, .banner img{
        width: 100%;
        height: 390px;
    }
}
